# Statistic 1
# Plotten von Genauigkeit Global / Lokal Normiert
#Daten: 
#Tue Jan 03 14:22:49 CET 2012 - Tested sentences: 250000
#Tue Jan 03 14:22:49 CET 2012 - cnt: 1 letter - first hit: 48045
#Tue Jan 03 14:22:49 CET 2012 - cnt: 1 letter - top five: 46440
#Tue Jan 03 14:22:49 CET 2012 - cnt: 2 letter - first hit: 69830
#Tue Jan 03 14:22:49 CET 2012 - cnt: 2 letter - top five: 42954
#Tue Jan 03 14:22:49 CET 2012 - cnt: 3 letter - first hit: 52730
#Tue Jan 03 14:22:49 CET 2012 - cnt: 3 letter - top five: 35433
#Tue Jan 03 14:22:49 CET 2012 - ---
#Tue Jan 03 14:22:49 CET 2012 - loc: 1 letter - first hit: 52932
#Tue Jan 03 14:22:49 CET 2012 - loc: 1 letter - top five: 47924
#Tue Jan 03 14:22:49 CET 2012 - loc: 2 letter - first hit: 74497
#Tue Jan 03 14:22:49 CET 2012 - loc: 2 letter - top five: 43407
#Tue Jan 03 14:22:49 CET 2012 - loc: 3 letter - first hit: 55935
#Tue Jan 03 14:22:49 CET 2012 - loc: 3 letter - top five: 34529
#====================================
#set terminal windows enhanced 11
set terminal png enhanced 11
set output "statistic1_2.png"

#set nokey
set key top right
set title 'Genauigkeit lokale / globale Normierung, 2 bekannte Buchst.'
set yrange [0:50]
set xrange [0:15]
set xlabel ''
set xtics("Global" 3, "Lokal" 8)
set ylabel 'Anteil in %'

#set style line 1 lt 1 lw 50
#set style line 1 lt 2 lw 50
#plot 'statistic_2_cnt.dat' using 1:(($2 / 250000)*100) title 'Global' with impulses ls 1,  'statistic_2_loc.dat' using 1:(($2 / 250000)*100) title 'Lokal' with impulses ls 2
plot 'statistic_2_5.dat' using 1:2:(3) title 'Wort in Top 5' with boxes fs pattern 1, '' u 1:($2 + 1.5):($2) title '' with labels, 'statistic_2_1.dat' using 1:2:(3) title 'Wort an Position 1' with boxes fs pattern 2, '' u 1:($2 + 1.5):($2) title '' with labels
